home *** CD-ROM | disk | FTP | other *** search
/ Aminet 48 / Aminet 48 (2002)(GTI - Schatztruhe)[!][Apr 2002].iso / Aminet / text / edit / vim60rt.lha / Vim / vim60 / doc / os_mac.txt < prev    next >
Encoding:
Text File  |  2001-09-26  |  3.3 KB  |  96 lines

  1. *os_mac.txt*    For Vim version 6.0.  Last change: 2001 Sep 03
  2.  
  3.  
  4.           VIM REFERENCE MANUAL    by Bram Moolenaar
  5.  
  6.  
  7.                     *mac* *Mac* *macintosh* *Macintosh*
  8.  
  9. There was a Mac port for version 3.0 of Vim.  Here are the first few lines
  10. from the old file:
  11.  
  12. VIM Release Notes
  13. Initial Macintosh release, VIM version 3.0
  14. 19 October 1994
  15.  
  16. Eric Fischer
  17. <enf1@midway.uchicago.edu>, <eric@jcp.uchicago.edu>, <etaoin@uchicago.edu>
  18. 5759 N. Guilford Ave
  19. Indianapolis IN 46220 USA
  20.  
  21. This file documents the particularities of the macintosh version of Vim.
  22.  
  23. NOTE: This version 5, is still in the alpha stage
  24.  
  25. 1. Filename Convention        |mac-filename|
  26. 2. .vimrc an .vim files        |mac-vimfile|
  27. 3. Known Lack            |mac-lack|
  28. 4. Mac Bug Report        |mac-bug|
  29. 5. Compiling Vim        |mac-compile|
  30.  
  31. ==============================================================================
  32. 1. Filename Convention                    *mac-filename*
  33.  
  34. You can use either the unix or mac path separator or a mix of both. In order
  35. to determine if the specified filename is relative to the current folder or
  36. absolute (i.e. relative to the "Desktop"), the following algorithm is used:
  37.  
  38.     If the path start by a "/", the path is absolute
  39.     If the path start by a ":", the path is relative
  40.     If the path doesn't start by neither a "/" nor ":",
  41.       and a ":" is found before a "/" then the path is absolute
  42. >
  43.         :e /HD/text
  44.         :e HD:text
  45. <    Edit the file "text" of the disk "HD" >
  46.         :e :src:main.c
  47.         :e src/main.c
  48. <    Edit the file "main.c" in the folder "src" in the current folder >
  49.         :e os_mac.c
  50. <    Edit the file "os_mac.c" in the current folder.
  51.  
  52. You can use the |$VIM| and |$VIMRUNTIME|  variable. >
  53.  
  54.         :so $VIMRUNTIME:syntax:syntax.vim
  55.  
  56. ==============================================================================
  57. 2. .vimrc and .vim files                *mac-vimfile*
  58.  
  59. On the Mac files starting with a dot "." are discouraged, thus the rc files
  60. are named "vimrc" or "_vimrc" and "gvimrc" or "_gvimrc". These files can be in
  61. any format (mac, dos or unix).  Vim can handle any file format when the
  62. |'nocompatible'| option is set, otherwise it will only handle mac format
  63. files.
  64.  
  65. ==============================================================================
  66. 3. Mac Lack                        *mac-lack*
  67.  
  68. -The filenames containing both ":" and "/" are sometimes misinterpreted.
  69.   (just re-execute the command)
  70. -Scrollbar are not scrolling live, and  when only the arrow or scroll area,
  71.    a limit of 32 line or page is scrolled.
  72. -Syntax highlighting works on 68k Macs but is _really_ slow.
  73.  
  74. ==============================================================================
  75. 4. Mac Bug Report                    *mac-bug*
  76.  
  77. When reporting any Mac specific bug or feature change, makes sure to include
  78. the following address in the "To:" or "Copy To:" field.
  79.  
  80.  <dany.stamant@sympatico.ca>
  81.  <A.Kielhorn@tu-bs.de>
  82.  
  83. ==============================================================================
  84. 5. Compiling Vim                    *mac-compile*
  85.  
  86. Vim compiles out of the box with the supplied CodeWarrior project when using
  87. CodeWarrior 9. If you are using a more recent version (e. g. CW Pro) you have
  88. to convert the project first.
  89. When compiling Vim for 68k Macs you have to open the "size" resource in
  90. ResEdit and enable the "High level events aware" button to get drag and drop
  91. working.
  92. You have to increase the memory partition to at least 1024 kBytes to prevent
  93. Vim from crashing due to low memory.
  94.  
  95.  vim:tw=78:ts=8:ft=help:norl:
  96.